package cn.mywcc.controller;

import cn.mywcc.config.PermissionConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    private PermissionConfig permissionConfig;
    @GetMapping("/test")
    public String index(){
        return permissionConfig.getApp_key();
    }
}
